<%@ page session="false" %>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>

<form:form method="post" action="algo">
	<label for="orderNumber">Order number:</label> 
	<input type="text" id="orderNumber" name="orderNumber" />
	
	<label for="orderType">Order type:</label> 
	<input type="text" id="orderType" name="orderType" />
	
	<label for="orderDate">Order date:</label> 
	<input type="text" id="orderDate" name="orderDate" />
	
	<label for="orderDate">Profit cost:</label> 
	<input type="text" id="profitCost" name="profitCost" />
	
	<label for="orderDate">Shipping cost:</label> 
	<input type="text" id="shippingCost" name="shippingCost" />
	
	<label for="orderDate">Total payment:</label> 
	<input type="text" id="totalPayment" name="totalPayment" />
	
	<label for="orderDate">Total cost:</label> 
	<input type="text" id="totalCost" name="totalCost" />
	
	<label for="orderStatus">Order status:</label>
	<select id="orderStatus" name="orderStatus">
		<c:forEach var="orderStatus" items="${orderStatusList}">
			<option value="${orderStatus.idOrderStatus}">${orderStatus.description}</option>
		</c:forEach>
	</select>
	
	<label for="orderClient">Client:</label>
	<select id="orderClient" name="orderClient">
		<c:forEach var="client" items="${clientList}">
			<option value="${client.idClient}">${client.name}</option>
		</c:forEach>
	</select>
	
</form:form>